home *** CD-ROM | disk | FTP | other *** search
- # Standard Windows make file. The utility MAKE.EXE compares the
- # creation date of the file to the left of the colon with the file(s)
- # to the right of the colon. If the file(s) on the right are newer
- # then the file on the left, Make will execute all of the command lines
- # following this line that are indented by at least one tab or space.
- # Any valid MS-DOS command line may be used.
-
- # Update the resource if necessary
-
- CL = cl -c -Gsw -Oegizwc -Zpd -W2 -AM -FPa
- # Compile without code movement optimizations for debugging
- # CL = cl -c -Gsw -Zpd -W2 -AM -FPa
-
- MYPROG.res: MYPROG.rc MYPROG.h
- rc -r MYPROG.rc
-
- MYPROG.obj: MYPROG.c MYPROG.h MYPROG2.h
- $(CL) MYPROG.c
-
- bitblt.obj: bitblt.c bitblt.h time.h MYPROG.h MYPROG2.h
- $(CL) bitblt.c
-
- lines.obj: lines.c time.h MYPROG.h MYPROG2.h
- $(CL) lines.c
-
- time.obj: time.c time.h MYPROG.h MYPROG2.h
- $(CL) time.c
-
- clipping.obj: clipping.c time.h MYPROG.h MYPROG2.h
- $(CL) clipping.c
-
- rects.obj: rects.c time.h MYPROG.h MYPROG2.h
- $(CL) rects.c
-
- poly.obj: poly.c time.h MYPROG.h MYPROG2.h
- $(CL) poly.c
-
- curves.obj: curves.c time.h MYPROG.h MYPROG2.h
- $(CL) curves.c
-
- misc.obj: misc.c time.h MYPROG.h MYPROG2.h
- $(CL) misc.c
-
- interfac.obj: interfac.c time.h MYPROG.h MYPROG2.h
- $(CL) interfac.c
-
- text.obj: text.c time.h MYPROG.h MYPROG2.h
- $(CL) text.c
-
- dlgs.obj: dlgs.c time.h MYPROG.h MYPROG2.h
- $(CL) dlgs.c
-
- tick.obj: tick.asm
- masm tick.asm;
-
- cpu.obj: cpu.asm
- masm cpu.asm;
-
-
- # Update the executable file if necessary, and if so, add the resource back in.
- # The /NOE must be included when linking with Windows libraries.
-
- MYPROG.exe: MYPROG.obj MYPROG.def bitblt.obj time.obj lines.obj clipping.obj\
- rects.obj poly.obj misc.obj interfac.obj text.obj curves.obj\
- tick.obj cpu.obj dlgs.obj
- link /li /MAP @MYPROG.lnk
- mapsym MYPROG.map
- rc -K MYPROG.res
-
- # If the .res file is new and the .exe file is not, update the resource.
- # Note that the .rc file can be updated without having to either
- # compile or link the file.
-
- MYPROG.exe: MYPROG.res
- rc -K MYPROG.res
-